package com.dgshanger.sanhxiaofeisc.mvp.contract;

import com.dgshanger.sanhxiaofeisc.entity.MerchantEntity;
import com.xx.baseuilibrary.mvp.lcec.BaseMvpLcecView;
import com.xx.baseutilslibrary.network.rx.RxHttpObserver;

import java.util.List;

/**
 * Created by JacobHHH on 2018/5/11.
 */

public class CollectibleListContract {

    public interface View extends BaseMvpLcecView<List<MerchantEntity>>{

        void addData(List<MerchantEntity> data);

        void onDataFailure(String err);
    }

    public interface Presenter {

        void loadData(boolean isRefresh,String page);
    }

    public interface Model {

        void loadData(String page, RxHttpObserver<List<MerchantEntity>> httpObserver);
    }
}
